<?php
/**
 * 查看SSO是否登录
 *
 * @author  peng49 <a1215517@sohu.com>
 * @date    2020/8/19 13:09
 */
session_start();

if(isset($_SESSION['username'])){
    echo "登录用户:{$_SESSION['username']}";
}else{
    echo "未登录";
}
